#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:function.py
# author:wmf
# datetime:2021/6/1 19:29
# software: PyCharm
'''
this is function description
'''


# import module your need

# 为text加上删除线
def strike(text):
    del_text = ''.join([u'\u0336{}'.format(c) for c in text])
    Text_list = [del_text,text]
    return Text_list


# 将all_vendors装换为json
def to_json(all_vendors):
    v = [ven.dobule_to_dict() for ven in all_vendors]
    return v
